package com.dongan.service;

import com.dongan.pojo.DesignProcedure;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dongan.pojo.DesignProcedureDetails;

import java.util.List;

/**
 * <p>
 * 设计过程表 服务类
 * </p>
 *
 * @author longTao
 * @since 2021-06-15
 */
public interface DesignProcedureService extends IService<DesignProcedure> {
    /**
     * 添加工序设计
     * @param procedure
     * @param details
     */
    public boolean insertProcedure(DesignProcedure procedure, List<DesignProcedureDetails> details);

    /**
     * 修改工序设计
     * @param procedure
     * @param details
     * @return
     */
    boolean updateProcedure(DesignProcedure procedure, List<DesignProcedureDetails> details);
}
